<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<title>支付成功</title>
<script>
			function countDown(){
				//获取初始时间
				var time = document.getElementById("Time");
				
				//获取到id为time标签中的数字时间
				if(time.innerHTML == 0){
					//等于0时清除计时，并跳转该指定页面
					window.location.href="${pageContext.request.contextPath}/home.do";
				}else{
					time.innerHTML = time.innerHTML-1;
				}
			}
			//1000毫秒调用一次
			window.setInterval("countDown()",1000);
		</script>
<style>

body{
background-image:url(images/7.jpg) ;
background-repeat:no-repeat;
background-position: center ;
background-size:200% 400%;
font-family: "隶书";
}
		
#Time,#p{
font-size: 30px;
text-align: center;
}

#Font,#p{
font-size: 30px;
text-align: center;
}

</style>
	</head>
	<body>
		<font color="blue"><p id="Time" >5</p></font>
		<p id="Font">支付成功，如有问题请联系客服或卖家。即将跳转至订单页面</p></br>

</body>
</html>